// 存储和获取主题颜色及暗黑模式
export const SET_COLOR = (color: string) => {
  localStorage.setItem('COLOR', color)
}
export const SET_DARK = (dark: boolean) => {
  localStorage.setItem('DARK', JSON.stringify(dark))
}
export const GET_COLOR = () => localStorage.getItem('COLOR')
export const GET_DARK = () => localStorage.getItem('DARK')
